home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_141.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  2.5 KB  |  93 lines

  1. ¬†         Menu 
  2.  
  3. Inherits from:     System 
  4.  
  5.  
  6. _____________________________________________________
  7. ¬†           name   *207*
  8.  
  9. Type:   string 
  10.  
  11. Constraints:    Not settable when ¬´Menu¬ª is active.    
  12.  
  13. Description:   Appears as text in the menu bar of the owning ¬´Application¬ª and is used by the primitives find-menu and find-menu-a for finding a ¬´Menu¬ª by name.    
  14.  
  15.  
  16.  
  17. _____________________________________________________
  18. ¬†          owner   *207*
  19.  
  20. Type:   Application     
  21.  
  22. Constraints:    Not settable.      
  23.  
  24. Description: If ¬´Menu¬ª and an ¬´Application¬ª are both active, then the value of owner is the active ¬´Application¬ª. Otherwise NULL.    
  25.  
  26.  
  27.  
  28. _____________________________________________________
  29. ¬†          active?   *207*
  30.  
  31. Type:   boolean 
  32.  
  33. Constraints:    Not settable on default or if there is no active ¬´Application¬ª.    
  34.  
  35. Description:      TRUE if and only if there is an active ¬´Application¬ª and ¬´Menu¬ª is one of its active menus.    
  36.  
  37. Side effects:    When set to TRUE, ¬´Menu¬ª is added to the right end of the menu list in menus of the active ¬´Application¬ª. When set to FALSE, ¬´Menu¬ª is removed from this list. In both cases, the menu bar display is updated.    
  38.  
  39.  
  40.  
  41. _____________________________________________________
  42. ¬†             menu record   *208*
  43.  
  44. Type:      MenuInfo@@    
  45.  
  46. Constraints:    Not settable.    
  47.  
  48. Description:  Menu record.    
  49.  
  50.  
  51.  
  52. _____________________________________________________
  53. ¬†             keys  *208*
  54.  
  55. Type:   boolean 
  56.  
  57. Constraints:   Not settable.    
  58.  
  59. Description:   If FALSE, menu items can have text styles. If TRUE, menu items can have command-key equivalents with modifier keys (shift, option or control).    
  60.  
  61.  
  62.  
  63. _____________________________________________________
  64. ¬†             enabled?  *208*
  65.  
  66. Type:   boolean 
  67.  
  68. Description: The ¬´Menu¬ª is drawn black in the menu bar if and only if the value of this attribute is TRUE. Each ¬´Menu Item¬ª in its item list is drawn black and generates menu events when selected only if the value of this attribute is TRUE.    
  69.  
  70.  
  71.  
  72. _____________________________________________________
  73. ¬†             item list  *208*
  74.  
  75. Type:   list of Menu Item 
  76.  
  77. Constraints:    Not settable when ¬´Menu¬ª is active.    
  78.  
  79. Description:     List of ¬´Menu Item¬ªs for the ¬´Menu¬ª.      
  80.  
  81. Warning:    Results are unpredictable if any ¬´Menu Item¬ª is repeated in item list, or occurs in the item list of more than one active ¬´Menu¬ª.    
  82.  
  83.  
  84.  
  85. _____________________________________________________
  86. ¬†          balloon  *209*
  87.  
  88. Type:     list 
  89.  
  90. Description:    Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.    
  91.  
  92.  
  93.